package utils

import "8-dshop/api/internal/types"

func ReturnResponse(message string, code int64, data interface{}) (resp *types.Response, err error) {
	return &types.Response{
		Message: message,
		Data:    data,
		Code:    code,
	}, nil
}
